package com.dinghui.salary.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author tanrentao
 * @date 2021-09-06
 * @desc
 */
@Data
public class SearchMouthTypeDTO extends PageDTO {

/*
    @ApiModelProperty(value = "年份")
    private String year;

    @ApiModelProperty(value = "月份")
    private String mouth;

    @ApiModelProperty(value = "外键id")
    private String salaryTypeId;*/

    @NotBlank(message = "时间不能为空")
    @ApiModelProperty(value = "时间")
    private String time;

    @NotBlank(message = "名称不能为空")
    @ApiModelProperty(value = "名称")
    private String title;

}
